package com.nxlv2.nomad.accessdb.dao.jdbc;

/**
 * Created with IntelliJ IDEA.
 * User: cBlondel76
 * Date: 29/01/14
 * Time: 11:22
 * To change this template use File | Settings | File Templates.
 */
import com.nxlv2.nomad.accessdb.dao.DAOException;
import java.sql.Connection;
import java.sql.ResultSet;

public interface IConnectionMySQL {

    static final String DRIVER_NAME = "com.mysql.jdbc.Driver";
    static final String DB_URL = "jdbc:mysql://localhost:3306/nomad";
    static final String DB_LOGIN = "root";
    static final String DB_PASSWORD = "";

    public Connection creerConnection() throws DAOException;
    public void executerRequete(String requete);
    public ResultSet executerRequeteSelect(String requete);
    public void fermerConnection();
    public String getKeyAES();
}
